<template>
  <el-card class="box-card">
    <div slot="header" class="clearfix">
      <span>专题介绍</span>
      <el-button style="float: right; padding: 3px 0" type="text">全部专题</el-button>
    </div>
    <el-row>
      <el-col :span="6" v-for="(item) in prop"  :key="item.banner">
        <el-card  shadow="hover">
          <img
            :src="item.banner"
            class="image"
          >
          <div class="text-center">
            <span>{{item.title}}</span>
            <div class="bottom clearfix">
              <!-- <el-button type="text" class="button">详情</el-button> -->
            </div>
          </div>
        </el-card>
      </el-col>
    </el-row>
  </el-card>
</template>
<script>
export default {
  props: ['prop'],
  data() {
    return {
      currentDate: new Date()
    };
  }
}
</script>
<style>
.el-card{
    margin-top: 20px;
}
.text {
  font-size: 14px;
}

.item {
  margin-bottom: 18px;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}
.clearfix:after {
  clear: both;
}
.time {
    font-size: 13px;
    color: #999;
  }
  
  .bottom {
    margin-top: 13px;
    line-height: 12px;
  }

  .button {
    padding: 0;
    float: right;
  }

  .image {
    width: 100%;
    display: block;
  }

  .clearfix:before,
  .clearfix:after {
      display: table;
      content: "";
  }
  
  .clearfix:after {
      clear: both
  }
</style>